package org.nt4b.schemadoc.webgui.service;

import org.nt4b.schemadoc.webgui.ConnectionConfiguration;
import org.nt4b.schemadoc.webgui.FileUploadBean;
import org.springframework.webflow.execution.RequestContext;


public interface ImportExportService {
    
    CommentsService getCommentsService();
    
    void setCommentsService(CommentsService commentsService);
    
    void exportXML(final ConnectionConfiguration connectionConfiguration, final RequestContext context) throws Exception;
    
    void exportSQL(final ConnectionConfiguration connectionConfiguration, final RequestContext context) throws Exception;
    
    void exportDoc(final ConnectionConfiguration connectionConfiguration, final RequestContext context) throws Exception;
    
    void upload(final ConnectionConfiguration connectionConfiguration, final FileUploadBean fileUploadBean);
    
}